<template>
  <div class="practice-page">
    <el-card class="page-header">
      <template #header>
        <div class="card-header">
          <h1>算法练习</h1>
        </div>
      </template>
      <p>这里将会提供各种算法的练习题，帮助你更好地理解和掌握算法。</p>
    </el-card>

    <el-card class="coming-soon">
      <template #header>
        <div class="card-header">
          <h2>敬请期待</h2>
        </div>
      </template>
      <el-empty description="练习题模块正在开发中，敬请期待...">
        <template #image>
          <el-icon :size="60"><Tools /></el-icon>
        </template>
      </el-empty>
    </el-card>
  </div>
</template>

<script>
import { Tools } from '@element-plus/icons-vue'

export default {
  name: 'Practice',
  components: {
    Tools
  }
}
</script>

<style scoped>
.practice-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-header {
  margin-bottom: 20px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header h1 {
  margin: 0;
  font-size: 1.5em;
  color: #2c3e50;
}

.card-header h2 {
  margin: 0;
  font-size: 1.2em;
  color: #2c3e50;
}

.coming-soon {
  text-align: center;
  padding: 40px 0;
}

:deep(.el-empty) {
  padding: 40px 0;
}

:deep(.el-icon) {
  color: #909399;
}
</style> 